package com.kgc.sbt.api;

import com.kgc.sbt.domain.CouponReceive;

/**
 * @author Shan
 * @date 2021/6/22
 * @return
 * @description 领取优惠券Api
 */

public interface CouponReceiveApi {

    /**
     * 领取优惠券
     */
    boolean insertCouponReceive(CouponReceive couponReceive);


    boolean queryCouponByUserIdAndCouponId(Integer userId, Integer couponId);

    boolean modCouponReceive(Integer userId, Integer couponId);
}
